package com.example.demo.service;

import com.example.demo.entity.Teacher;
import java.util.List;

public interface TeacherService {

    int save(Teacher teacher);

    int delete(int tid);

    int update(Teacher teacher);

    List<Teacher> select();

    int register(Teacher teacher);

    List<Teacher> login();

}
